package com.coinland.study.base;

/**
 * 类描述:
 * 创建人:  shenZ
 * 创建时间: 2019/8/22
 * 联系方式: 252079249@qq.com
 * 修改时间: 2019/8/22
 */
public  abstract class BaseMvpFragment<T extends BasePresenter> extends BaseFragment implements BaseView{

    protected T mPresenter;

    @Override
    public void onDestroyView() {
        if(mPresenter != null){
           mPresenter.detachView();
        }
        super.onDestroyView();
    }
}
